# !/usr/bin/env python
# encoding: utf-8


"""
  @author: gaogao
  @file: constant.py
  @time: 2022/4/16 14:07
  @desc:
"""

import frozen_dir as fdir
from pathlib import Path, PurePath

EXE_PATH = fdir.app_path()
GUI_SETTING = EXE_PATH / Path("static\gui_setting.ini")
PLANS_FILE = EXE_PATH / Path(r"plans\test")
REFRENCE_FILE = EXE_PATH / Path(r"static\refrence_data.ini")
# REFRENCE_FILE = EXE_PATH / Path(r"C:\Users\Jingw\PycharmProjects\HS_ATS_VS\static\refrence_data.ini")
REMEMBER_VALUE = EXE_PATH / Path(r"static\remember_value.ini")

DCP_TITLE = ["DCP01", "DCP02", "DCP03", "DCP04", "DCP05", "DCP06", "DCP07", "DCP08", "DCP09", "DCP10",
             "DCP11", "DCP12", "RF01", "RF02"]

DCP_TYPES = ["None", "GND", "SMU01", "SMU02", "SMU03", "SMU04", "SMU05", "SMU06", "SMU07", "SMU08", "SMU09", "SMU10", "SMU11"]

N7744_RAGNE = ['10', '0', '-10', '-20', '-30']
U2722_CURRENT_RANGE = ["1uA", "10uA", "100uA", "1mA", "10mA", "120mA"]
U2722_VOLTAGE_RANGE = ["2V", "20V"]
POWER_UNIT = ["dbm", "W"]
CURRENT_LIMIT = ["uA", "mA", "A"]
VOLTAGE_UNIT = ["mV", "V"]
